package helipay.api.dao;

import java.sql.SQLException;

import helipay.api.model.AbstractEntity;

public interface BaseDao<T extends AbstractEntity> {
	public T add(T t);

	public boolean del(Object id) throws SQLException;

	public boolean update(T t) throws SQLException;

	public T get(Object id) throws SQLException;

/*	public boolean delByIds(Collection<Object> keys);
	
	public List<T> findAll();

	public List<T> findByBaseId(Long baseId);

	public T getByLang(Long id, String lang);

	public List<T> findByIds(Collection<Object> ids);*/
}